<?php

namespace App\Http\Middleware;

use Closure;

class V2check
{
    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  \Closure  $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        $data   = $request->all();
        $data['url']    = $request->getRequestUri();
        mylogger($data,'v2log.txt');
        return ["message"=> "no" , "code" => 3028];

        return $next($request);
    }
}
